/**
 * @Description: 服务端数据缓存接口
 * @Author: Zander
 * @Date: 2023/1/31 10:56
 * @LastEditors: Zander
 * @LastEditTime: 2023/1/31 10:56
 */

import { $post } from '@api/utils';
import { commonApi } from '@/config/prefix';

/**
 * 获取缓存数据
 */
export const apiGetCacheData = () => $post({
  url: `${commonApi}/getCacheData`
});

/**
 * 刷新缓存数据
 */
export const apiRefreshCacheData = () => $post({
  url: `${commonApi}/refreshCacheData`
});
